
package com.lagou.pojo;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 功能描述
 *
 * @author wangqiang
 * @since 2021/09/27
 */
@Data
@Entity
@Table(name = "lagou_token")
public class UserToken {
    @Id
    private long id; // 主键

    private String email; // 邮箱

    private String token; // token

    public UserToken() {
    }

    public UserToken(String email, String token) {
        this.email = email;
        this.token = token;
    }
}